package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Claim;
import cn.wolfcode.crm.domain.Employee;
import cn.wolfcode.crm.query.ClaimQueryObject;

import java.util.List;

public interface ClaimMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Claim record);

    Claim selectByPrimaryKey(Long id);

    List<Claim> selectAll();

    int updateByPrimaryKey(Claim record);

    int query4Count(ClaimQueryObject qo);

    List<Claim> query4List(ClaimQueryObject qo);

    void changeState(Long id);


    String selectStagingByStaging(String staging);

    void updateByAudit(Claim claim);

    List<Employee> selectAllEmp();

}